.PeripheralA01,
.PeripheralB01 {
	width: 100%;
	height: 100%;
	padding: 8px;

	& > .OrgBox {
		background: yellow;
		position: fixed;
		right: 32px;
		top: 240px;
		width: 482px;
		background: rgba(1, 25, 53, 0.9);
		clip-path: polygon(
			24px 0,
			calc(100% - 24px) 0,
			100% 24px,
			100% calc(100% - 24px),
			calc(100% - 24px) 100%,
			24px 100%,
			0 calc(100% - 24px),
			0 24px
		);
		border: 3px solid #b3dcfe;
		padding: 40px;

		.Title {
			font-family: YouSheBiaoTiHei;
			font-size: 22px;
			color: #ffffff;
			font-style: normal;
			display: flex;
			align-items: center;
			justify-content: center;
			padding: 0 8px;
			margin-bottom: 24px;

			& > div:last-child {
				flex: 1;
				position: relative;
				z-index: 1;
				height: 1px;
				background: rgba(179, 220, 254, 1);
			}
		}

		& > .ClassBox {
			width: 100%;
			position: relative;
			z-index: 1;
			padding-bottom: 24px;
			margin-bottom: 16px;

			&::after,
			&::before {
				position: absolute;
				content: "";
				z-index: -1;
				left: 0;
				bottom: 0;
				width: 100%;
			}

			&::after {
				height: 1px;
				background: rgba(179, 220, 254, 1);
			}

			&::before {
				height: 80px;
				background: linear-gradient(
					180deg,
					rgba(33, 134, 227, 0),
					rgba(245, 254, 255, 0.2)
				);
			}

			& > .ClassA01,
			& > .ClassC01,
			& > .ClassD01 {
				display: flex;
				align-items: center;
				justify-content: flex-start;
			}

			& > .ClassA01,
			& > .ClassA02,
			& > .ClassC01,
			& > .ClassD01 {
				& > div:first-child {
					font-family: MicrosoftYaHei;
					font-weight: bold;
					font-size: 12px;
					color: #ffffff;
					line-height: 32px;
					margin-right: 8px;
				}

				& > div:last-child {
					font-family: MicrosoftYaHei;
					font-weight: bold;
					font-size: 12px;
					color: rgba(255, 251, 181, 1);
				}
			}

			&.ClassB {
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;

				& > div {
					width: 100%;
					display: flex;
					align-items: center;
					justify-content: center;

					& > div {
						flex: 1;
						display: flex;
						align-items: center;
						justify-content: flex-start;

						& > div:first-child {
							font-family: MicrosoftYaHei;
							font-weight: bold;
							font-size: 12px;
							color: #ffffff;
							line-height: 32px;
							margin-right: 8px;
						}

						& > div:last-child {
							font-family: MicrosoftYaHei;
							font-weight: bold;
							font-size: 12px;
							color: rgba(255, 251, 181, 1);
						}
					}
				}
			}

			&.ClassD {
				margin: 0;
				padding: 0;

				&::after,
				&::before {
					content: none;
				}
			}
		}

		& > .imageBack {
			position: absolute;
			right: 48px;
			top: 80px;
			width: 63px;
			height: 78px;
		}

		& > .image {
			position: absolute;
			width: 32px;
			height: 16px;

			&::after {
				position: absolute;
				content: "";
				width: 34px;
				height: 3px;
				background: rgba(179, 220, 254, 1);
			}

			&.imageA1 {
				left: 16px;
				top: 16px;

				&::after {
					left: -22px;
					top: 22px;
					transform: rotate(45deg);
				}
			}

			&.imageA2 {
				right: 16px;
				top: 16px;

				&::after {
					right: -22px;
					top: -8px;
					transform: rotate(45deg);
				}
			}

			&.imageA3 {
				left: 16px;
				bottom: 16px;

				&::after {
					left: -22px;
					bottom: -8px;
					transform: rotate(45deg);
				}
			}

			&.imageA4 {
				right: 16px;
				bottom: 16px;

				&::after {
					right: -22px;
					bottom: 22px;
					transform: rotate(45deg);
				}
			}

			&.imageA1,
			&.imageA4 {
				transform: rotateX(180deg);
			}
		}
	}

	.ant-tree {
		background: transparent;

		.ant-tree-switcher {
			& > span {
				color: white;
				font-size: 16px;
			}
		}

		.ant-tree-treenode {
			width: 100%;
		}

		.ant-tree-node-content-wrapper {
			width: 100%;
			color: #ffffff;
			font-size: 16px;
			font-family: ShuHeiTi;
			font-weight: bold;
		}

		.ant-tree-node-selected {
			color: #262626;
		}
	}

	.personName {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}

.Peripheral001 {
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;

	& > .Box {
		position: absolute;
		left: 0;
		top: 0;
		bottom: 15px;
		width: 480px;
		z-index: 5;

		.body {
			width: 100%;
			height: 100%;
			padding: 16px;
			overflow-y: scroll;

			& > .header {
				margin-bottom: 4px;

				& > .title {
					display: flex;
					align-items: center;
					justify-content: space-between;
					background: rgba(0, 0, 0, 0.2);
					padding: 8px;
					border-radius: 4px;
					cursor: pointer;

					& > div {
						font-size: 20px;
						font-family: ShuHeiTi;
						font-weight: bold;
						color: #ffffff;
					}

					& > span {
						font-size: 16px;
						color: #ffffff;
					}
				}

				& > .item {
					height: auto;
					overflow: hidden;
					transition: all 0.35s;

					&.Hidden {
						height: 0;
					}
				}
			}
		}
	}
}

.PeripheralB01 {
	position: relative;

	& > .Alarm,
	& > .Mic,
	& > .Audio,
	& > .Video {
		position: fixed;
		right: 0;
		width: 400px;
		overflow: hidden;
		transition: all 0.35s;

		&.Alarm {
			top: 140px;
			height: 140px;

			.Box {
				width: 100%;
				height: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;

				& > div {
					color: #ffffff;
					font-size: 16px;
					font-family: ShuHeiTi;
					font-weight: bold;
					margin-bottom: 8px;
					display: flex;
					align-items: center;
					justify-content: center;

					& > button {
						width: 160px;
						margin: 0 8px;
					}
				}
			}
		}

		&.Mic {
			top: 290px;
			height: 140px;

			.Box {
				width: 100%;
				height: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;

				& > div {
					color: #ffffff;
					font-size: 16px;
					font-family: ShuHeiTi;
					font-weight: bold;
					margin-bottom: 8px;
				}

				& > button {
					width: 200px;
				}
			}
		}

		&.Audio {
			top: 440px;
			height: 140px;

			.Box {
				width: 100%;
				height: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;

				& > div {
					color: #ffffff;
					font-size: 16px;
					font-family: ShuHeiTi;
					font-weight: bold;
					margin-bottom: 8px;
				}

				& > button {
					width: 200px;
				}
			}
		}

		&.Video {
			top: 590px;
			width: 600px;
			height: 400px;

			.Box {
				width: 100%;
				height: 100%;
				position: relative;
				z-index: 1;

				& > video {
					width: 100%;
					height: 100%;
					object-fit: cover;
				}

				& > div {
					position: absolute;
					z-index: 1;
					left: 0;
					bottom: 16px;
					display: flex;
					align-items: center;
					justify-content: center;
					width: 100%;

					& > button {
						width: 160px;
						margin: 0 8px;
					}
				}
			}
		}
	}
}
